<div id="order-pay-dialog" class="order-pay-dialog-c" style="width:400px;">
	<h3><span id="order-pay-dialog-close" class="close" onclick="return X.boxClose();">关闭</span></h3>
	<div style="overflow-x:hidden;padding:10px;" id="dialog-order-id" oid="{$order['id']}">
	<table width="96%" align="center" class="coupons-table">
		<tr>
			<td>手机号码</td>
			<td><input type="text" name="mobile" id="yimamms-new-mobile" class="f-input" /></td>
		</tr>
		<tr>
			<td>转发类型</td>
			<td>
				<select name="type" id="yimamms-new-sendtype">
					<option value="000">SMS</option>
					<option value="001">EMS</option>
					<option value="999">彩信</option>
				</select>
			</td>
		</tr>
		<tr><td></td><td><input type="submit" value="确定" class="formbutton" onclick="X.misc.changesend_yimamms();" /></td></tr>
	</table>
	</div>
</div>
<script type="text/javascript">
X.misc.changesend_yimamms = function() {
	var mobile = jQuery('#yimamms-new-mobile').val();
	var tpye = jQuery('#yimamms-new-sendtype').val();
	if (mobile) return !X.get(WEB_ROOT + '/ajax/coupon.php?action=changesend_yimamms&id={$yimamms['id']}&mobile='+mobile+'&type='+tpye);
};
</script>
